Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class Microsoft.​Extensions.​Options.​OptionsFactory<​TOptions>

Assembly: Microsoft.Extensions.Options

Inheritance: object → OptionsFactory

Implemented Interfaces

Implementation of <see cref="T:Microsoft.Extensions.Options.IOptionsFactory`1" /> .

Methods

public TOptions
Create​(string name)
Returns a configured <typeparamref name="TOptions" /> instance with the given <paramref name="name" /> .
Returns The created <typeparamref name="TOptions" /> instance with the given <paramref name="name" /> .
name The name of the <typeparamref name="TOptions" /> instance to create.
protected TOptions
CreateInstance​(string name)
Creates a new instance of type <typeparamref name="TOptions" /> .
Returns The created <typeparamref name="TOptions" /> instance.
name The name of the <typeparamref name="TOptions" /> instance to create.
public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object